/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-api
 * Filename：	APatrolBill.java
 * Created：		2016年8月28日
 * Creator：		wolv
 */
package com.thor.palmmall.rest.patrol;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.thor.commons.entity.Entity;
import com.thor.commons.entity.OperateInfo;
import com.thor.commons.entity.UCN;

/**
 * @author wolv
 *
 */
public class APatrolBill extends Entity {
  private static final long serialVersionUID = -8442443496974605254L;

  private long version;
  private Date versionTime;
  private String bpmState;
  private String bpmMessage;
  private String bpmInstance;
  private String billNumber;
  private String bizState;
  private String permGroupId;
  private String permGroupTitle;
  private String topic;
  private UCN store;
  private UCN category;
  private Date beginTime;
  private Date endTime;
  private Date overTime;
  private Date abortTime;
  private UCN patrolman;
  private String remark;
  private String settleNo;
  private String sourceUuid;
  private String sourceBillNumber;
  private OperateInfo createInfo;
  private OperateInfo lastModifyInfo;
  private List<APatrolBillDetail> details = new ArrayList<APatrolBillDetail>();
  private String abortMsg;

  public String getTopic() {
    return topic;
  }

  public void setTopic(String topic) {
    this.topic = topic;
  }

  public UCN getStore() {
    return store;
  }

  public void setStore(UCN store) {
    this.store = store;
  }

  public UCN getCategory() {
    return category;
  }

  public void setCategory(UCN category) {
    this.category = category;
  }

  public Date getBeginTime() {
    return beginTime;
  }

  public void setBeginTime(Date beginTime) {
    this.beginTime = beginTime;
  }

  public UCN getPatrolman() {
    return patrolman;
  }

  public void setPatrolman(UCN patrolman) {
    this.patrolman = patrolman;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public List<APatrolBillDetail> getDetails() {
    return details;
  }

  public void setDetails(List<APatrolBillDetail> details) {
    this.details = details;
  }

  public long getVersion() {
    return version;
  }

  public void setVersion(long version) {
    this.version = version;
  }

  public Date getVersionTime() {
    return versionTime;
  }

  public void setVersionTime(Date versionTime) {
    this.versionTime = versionTime;
  }

  public String getBpmState() {
    return bpmState;
  }

  public void setBpmState(String bpmState) {
    this.bpmState = bpmState;
  }

  public String getBpmMessage() {
    return bpmMessage;
  }

  public void setBpmMessage(String bpmMessage) {
    this.bpmMessage = bpmMessage;
  }

  public String getBpmInstance() {
    return bpmInstance;
  }

  public void setBpmInstance(String bpmInstance) {
    this.bpmInstance = bpmInstance;
  }

  public String getSourceUuid() {
    return sourceUuid;
  }

  public void setSourceUuid(String sourceUuid) {
    this.sourceUuid = sourceUuid;
  }

  public String getSourceBillNumber() {
    return sourceBillNumber;
  }

  public void setSourceBillNumber(String sourceBillNumber) {
    this.sourceBillNumber = sourceBillNumber;
  }

  public String getSettleNo() {
    return settleNo;
  }

  public void setSettleNo(String settleNo) {
    this.settleNo = settleNo;
  }

  public String getBillNumber() {
    return billNumber;
  }

  public void setBillNumber(String billNumber) {
    this.billNumber = billNumber;
  }

  public String getBizState() {
    return bizState;
  }

  public void setBizState(String bizState) {
    this.bizState = bizState;
  }

  public String getPermGroupId() {
    return permGroupId;
  }

  public void setPermGroupId(String permGroupId) {
    this.permGroupId = permGroupId;
  }

  public String getPermGroupTitle() {
    return permGroupTitle;
  }

  public void setPermGroupTitle(String permGroupTitle) {
    this.permGroupTitle = permGroupTitle;
  }

  public OperateInfo getCreateInfo() {
    return createInfo;
  }

  public void setCreateInfo(OperateInfo createInfo) {
    this.createInfo = createInfo;
  }

  public OperateInfo getLastModifyInfo() {
    return lastModifyInfo;
  }

  public void setLastModifyInfo(OperateInfo lastModifyInfo) {
    this.lastModifyInfo = lastModifyInfo;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public Date getOverTime() {
    return overTime;
  }

  public void setOverTime(Date overTime) {
    this.overTime = overTime;
  }

  public Date getAbortTime() {
    return abortTime;
  }

  public void setAbortTime(Date abortTime) {
    this.abortTime = abortTime;
  }

public String getAbortMsg() {
	return abortMsg;
}

public void setAbortMsg(String abortMsg) {
	this.abortMsg = abortMsg;
}

}
